From: Aaron Schulz Date: Mon, 31 Oct 2011 17:30:47 +0000 (+0000) Subject: Renamed annoying --iknowwhatimdoing param to --force (bug 32073) X-Git-Tag: 1.31.0-rc.0~26808 X-Git-Url: http://git.cyclocoop.org/%27%20.%20%24prefix%20.%20Wiki::transformTitleToURI%28%24matches%5B1%5D%29%20.%20%27?a=commitdiff_plain;h=6447ae9f2181519dd622da8e836d65d70a673b58;p=lhc%2Fweb%2Fwiklou.git Renamed annoying --iknowwhatimdoing param to --force (bug 32073) --- diff --git a/maintenance/update.php b/maintenance/update.php index c1849b1693..16561f56e9 100644 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -43,7 +43,7 @@ class UpdateMediaWiki extends Maintenance { $this->addOption( 'quick', 'Skip 5 second countdown before starting' ); $this->addOption( 'doshared', 'Also update shared tables' ); $this->addOption( 'nopurge', 'Do not purge the objectcache table after updates' ); - $this->addOption( 'iknowwhatimdoing', 'Override when $wgMiserMode disables this script' ); + $this->addOption( 'force', 'Override when $wgMiserMode disables this script' ); } function getDbType() { @@ -78,10 +78,10 @@ class UpdateMediaWiki extends Maintenance { function execute() { global $wgVersion, $wgTitle, $wgLang, $wgMiserMode; - if( $wgMiserMode && !$this->hasOption( 'iknowwhatimdoing' ) ) { + if( $wgMiserMode && !$this->hasOption( 'force' ) ) { $this->error( "Do not run update.php on this wiki. If you're seeing this you should\n" . "probably ask for some help in performing your schema updates.\n\n" - . "If you know what you are doing, you can continue with --iknowwhatimdoing", true ); + . "If you know what you are doing, you can continue with --force", true ); } $wgLang = Language::factory( 'en' );